package com.xsk.dou.core.api

import com.xsk.dou.model.Response
import com.xsk.dou.model.Subject
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiServer {


    @GET("top250")
    fun getMovies(
        @Query("page") page: Int = 1,
        @Query("count") count: Int = 20
    ): Observable<Response<List<Subject>>>
}